Skip to content

Laptop fallback for the demo when the cluster is unreachable - #10

Merged
kenzycodex merged 4 commits into
mainfrom
feat/local-demo
Nov 11, 2026
Merged

kenzycodex merged 4 commits into
mainfrom
feat/local-demo

Conversation

@kenzycodex

@kenzycodex kenzycodex commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Runs the same API, console, sandbox app and bank bridge on one laptop with Docker, with a local stand-in for the Xtradot Bank that follows the platform guide (name enquiry, fees and VAT from the response, interbank pending then paid, .01/.02/.03 trigger amounts, idempotency). The bank panel reads "Xtradot Bank (simulated)".

  • api/scripts/mock_bank.py: the stand-in bank
  • deploy/local/docker-compose.yml: mock bank, API and web
  • NEXT_PUBLIC_FORGE_BANK_LABEL build arg for the bank panel label
  • Runbook section in docs/DEPLOY-FORGE.md

Tested locally in a browser: console sign-in, saved payee paid, GTBank name enquiry then paid with fee and VAT, large transfer to a new payee paused by Ghost, unknown account refused. .02 timeout went unknown, then requery, with no second send.

Follows the platform guide's contract for name enquiry, intrabank and
interbank transfers, fees and VAT, idempotency and the .01/.02/.03 trigger
amounts, so the demo can run when the cluster is unreachable.
@kenzycodex
kenzycodex merged commit bdd3934 into main Nov 11, 2026
@kenzycodex
kenzycodex deleted the feat/local-demo branch November 11, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant